package com.vt.domain;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class CourseDescription {
	@XmlElement
	private String code;
	@XmlElement
	private String titre;
	@XmlElement
	private int ration;
	@XmlElement
	private List<String> objectifs;
	@XmlElement
	private CourseType type;
	@XmlElement
	private RoomSetup setup;
	@XmlElement
	private String courseVersion;
	@XmlElement
	private String langue;
	@XmlElement
	private String year;

	public String getYear() {
		return year;
	}

	public String getLangue() {
		return langue;
	}

	public String getCourseVersion() {
		return courseVersion;
	}

	public RoomSetup getSetup() {
		return setup;
	}

	public CourseDescription() {

	}

	public CourseDescription(String code, String titre, int ration,
			List<String> objectifs, CourseType type, RoomSetup roomsetup,
			String langue, String version,String year) {
		this.code = code;
		this.titre = titre;
		this.ration = ration;
		this.objectifs = objectifs;
		this.type = type;
		this.setup = roomsetup;
		this.langue = langue;
		this.courseVersion = version;
		this.year = year;
		
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTitre() {
		return titre;
	}

	public void setTitre(String titre) {
		this.titre = titre;
	}

	public int getRation() {
		return ration;
	}

	public void setRation(int ration) {
		this.ration = ration;
	}

	public List<String> getObjectifs() {
		return objectifs;
	}

	public void setObjectifs(List<String> objectifs) {
		this.objectifs = objectifs;
	}

	public CourseType getType() {
		return type;
	}

	public void setType(CourseType type) {
		this.type = type;
	}
}
